package com.china08.yxyapi.entity.mg.continuedu;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 继续教育 用户-任务-课程
 * 
 */
@SuppressWarnings("serial")
@Document(collection = "yxy.tea.continuedu.user.task.lesson")
public class YxyContinueduUserTaskLesson extends MongoBaseEntityNoId {

    @Id
    private String id;// id,使用 userId_taseId_lessonId 拼接组成,唯一

    @Field(value = "user_id")
    private String userId;

    @Field(value = "taks_id")
    private String taskId;

    @Field(value = "lesson_id")
    private String lessonId;

    @Field(value = "lesson_name")
    private String lessonName;

    @Field(value = "progress")
    private Double progress = 0.0;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getLessonId() {
        return lessonId;
    }

    public void setLessonId(String lessonId) {
        this.lessonId = lessonId;
    }

    public Double getProgress() {
        return progress;
    }

    public void setProgress(Double progress) {
        this.progress = progress;
    }

    public String getLessonName() {
        return lessonName;
    }

    public void setLessonName(String lessonName) {
        this.lessonName = lessonName;
    }

}
